<ion-header>
    <ion-navbar>
        <ion-title>
            个人资料
        </ion-title>
    </ion-navbar>
</ion-header>

<ion-content class="content-wrapper">
    <ion-list class="main-content inputs-wrap">
        <p><span class="gray">电话：</span>{{personalDetail.mobile}}</p>
        <div class="inputs mt">
            <span class="gray">姓名</span>
            <input type="text" class="input--inner" placeholder="请输入" [(ngModel)]="personalDetail.name">
        </div>
        <div class="inputs mt">
            <span class="gray">公司</span>
            <input type="text" class="input--inner" placeholder="请输入" [(ngModel)]="personalDetail.companyName">
        </div>
        <div class="inputs mt">
            <span class="gray">省市区</span>
            <!--<div  class="label-wrap">-->
            <!--<span>广州省</span>-->
            <!--<span>深圳市</span>-->
            <!--<span>南山区</span>-->
            <!--<img class="icon-right" src="../../assets/img/personImg/right.png"/>-->
            <!--</div>-->
            <div class="label-wrap">
                <city-picker item-content
                             [cancelText]="'取消'"
                             [doneText]="'完成'"
                             [separator]="' - '"
                             [citiesData]="cityData"
                             [(ngModel)]="cityName"
                             (ionChange)="cityChange($event)">

                </city-picker>
                <img class="icon-right" src="../../assets/img/personImg/right.png"/>
            </div>
        </div>
        <div class="inputs mt">
            <span class="gray detail-adr">详细地址</span>
            <textarea class="input--inner another-h" placeholder="请输入"
                      [(ngModel)]="personalDetail.companyAddressName"></textarea>
        </div>
    </ion-list>
    <div class="btns--bottom">
        <button class="sub-btn return" (click)="goback()">返回</button>
        <button class="sub-btn modify" (click)="save()">保存</button>
    </div>
</ion-content>
